package org.example;

import lombok.Data;

import java.util.List;

/**
 * @author: xiongyuns
 * @email: xiongyuns@4px.com
 * @create: 2024-06-07 10:31
 */
@Data
public class Editor {


    private String type;

    private List<ChildrenDTO> children;


    @Data
    public static class ChildrenDTO {

        private String text;

        private boolean bold;

        private boolean code;

        private boolean italic;

        private boolean through;

        private boolean underline;

        private boolean sup;

        private boolean sub;

        private String color;
    }
}
